package com.clouds.wms.dao;
import com.clouds.wms.bean.Purmb;
import com.clouds.wms.exception.DatabaseException;
import com.clouds.wms.util.PagesBean;

public interface PurmbDao {
	PagesBean getPurmbList(String maaa,String maab,int offset, int pageSize)throws DatabaseException;
	int savePurcb(Purmb purmb)throws DatabaseException;
	int updatePurcb(Purmb purmb)throws DatabaseException;
	int getMaxMbac() throws DatabaseException;
	int delPurmb(String mbaa, String mbab, String mbacs)throws DatabaseException;
	int changeStatus(String mbaa, String mbab, String status)throws DatabaseException;
	
	void delPurmbByAaAb(String maaa, String maab)throws DatabaseException;
}
